package com.ambow.shop.dao.impl;

import java.sql.SQLException;
import java.util.Date;

import com.ambow.shop.dao.UserDAO;
import com.ambow.shop.domain.User;

/**
 * 用户数据访问对象实现类。
 * 
 * @author deng.zhao
 *
 */
public class UserDaoJdbcImpl implements UserDAO {

	@Override
	public User get(String name, String password) throws SQLException {
		return new User(1, "admin", "admin@ambow.com", "admin", new Date());
	}
}
